//
//  WmcCloudEmptyView.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/5/26.
//

import UIKit

class WmcCloudAllPhotoEmptyView: WmcEmptyView {
    override func makeUI() {
        imageView.image = "cloud_album_empty".wmc_image
        addSubview(imageView)
        tipLabel.text = "当前暂无照片"
        tipLabel.font = 16.wmc_font
        tipLabel.textColor = .wmc_grayH8_8A8A99
        addSubview(tipLabel)

        imageView.snp.makeConstraints { make in
            make.centerX.equalToSuperview()
            make.centerY.equalToSuperview().offset(-60)
            make.width.equalTo(106)
            make.height.equalTo(118)
        }

        tipLabel.snp.makeConstraints { make in
            make.top.equalTo(imageView.snp.bottom)
            make.centerX.equalToSuperview()
            make.height.equalTo(18)
        }
    }
}
